<template>
    <a-layout>
      <a-layout-sider width="200" style="background: #fff">
        <a-menu
          theme="dark"
          mode="inline"
          :defaultSelectedKeys="['1']"
          :defaultOpenKeys="['sub1']"
          :style="{ height: '100%', borderRight: 0 }"
        >
          <a-sub-menu key="sub1">
            <span slot="title"><a-icon type="user" />账号管理</span>
            <a-menu-item key="1">
              <router-link :to="{name:'mycount'}">
                <a-icon type="user" />我的账号
              </router-link>
            </a-menu-item>
            <a-menu-item key="2">
              <router-link :to="{name:'safe'}">
                <a-icon type="safety" />安全设置
              </router-link>
            </a-menu-item>
            <a-menu-item key="3">
              <router-link :to="{name:'person'}">
                <a-icon type="solution" />个人资料
              </router-link>
            </a-menu-item>
            <a-menu-item key="4">
              <router-link :to="{name:'cotact'}">
                <a-icon type="phone" />联系信息
              </router-link>
            </a-menu-item>
          </a-sub-menu>
          <a-sub-menu key="sub2">
            <span slot="title"><a-icon type="laptop" />工作室管理</span>
            <a-menu-item key="5">
              <router-link :to="{name:'create'}">
                <a-icon type="idcard" />我创建的
              </router-link>
            </a-menu-item>
            <a-menu-item key="6">
              <router-link :to="{name:'join'}">
                <a-icon type="cluster" />我加盟的
              </router-link>
            </a-menu-item>
          </a-sub-menu>
          <a-sub-menu key="sub3">
            <span slot="title"><a-icon type="notification" />云胶片管理</span>
            <a-menu-item key="7">
              <router-link :to="{name:'usesta'}">
                <a-icon type="copyright" />使用统计
              </router-link>
            </a-menu-item>
            <a-menu-item key="8">
              <router-link :to="{name:'usesub'}">
                <a-icon type="table" />使用明细
              </router-link>
            </a-menu-item>
            <a-menu-item key="9">
              <router-link :to="{name:'system'}">
                <a-icon type="qrcode" />系统配置
              </router-link>
            </a-menu-item>
          </a-sub-menu>
        </a-menu>
      </a-layout-sider>
      <!-- <a-layout style="padding: 0 24px 24px">
        <a-breadcrumb style="margin: 16px 0">
          <a-breadcrumb-item>Home</a-breadcrumb-item>
          <a-breadcrumb-item>List</a-breadcrumb-item>
          <a-breadcrumb-item>App</a-breadcrumb-item>
        </a-breadcrumb>
        <a-layout-content :style="{ background: '#fff', padding: '24px', margin: 0, minHeight: '280px' }">
          <router-view></router-view>
        </a-layout-content>
      </a-layout> -->
      <router-view></router-view>
    </a-layout>
</template>

<script>
export default {
  data(){
    return{}
  }
}
</script>

<style scoped>

</style>
